<?php /* Smarty version 2.6.14, created on 2011-02-28 19:55:40
         compiled from latest_frontpage.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'truncate', 'latest_frontpage.tpl', 8, false),array('modifier', 'escape', 'latest_frontpage.tpl', 20, false),array('function', 'cycle', 'latest_frontpage.tpl', 18, false),)), $this); ?>
<!-- LATEST_FRONTPAGE.TPL -->
MAMANA
<table cellspacing="0" class="box" style="clear:both;">
<tr>
	<th width="25%"><?php echo $this->_tpl_vars['CATEGORY_URL']; ?>
 <?php echo @CATEGORY; ?>
</a> <?php echo $this->_tpl_vars['image_cat']; ?>
</th>
	<th width="35%"><?php echo $this->_tpl_vars['AD_URL']; ?>
 <?php echo @TITLE; ?>
</a> <?php echo $this->_tpl_vars['image_title']; ?>
</th>
	<?php $_from = $this->_tpl_vars['EXTRA_CAPTION_ARRAY']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['extra']):
?> 
		<th><?php echo $this->_tpl_vars['extra']['url'];  echo ((is_array($_tmp=$this->_tpl_vars['extra']['caption'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 15, "...", true) : smarty_modifier_truncate($_tmp, 15, "...", true)); ?>
</a> <?php echo $this->_tpl_vars['extra']['sort_img']; ?>
</th>
	<?php endforeach; endif; unset($_from); ?>
	<th width="10%"><?php echo $this->_tpl_vars['EXPIREDATE_URL']; ?>
 <?php echo @LA_AD_EXPIRE; ?>
</a> <?php echo $this->_tpl_vars['image_expire']; ?>
</th>
	<!-- <th>Vendor logo</th> -->
	<th width="20%"><?php echo $this->_tpl_vars['GRADE_URL']; ?>
 <?php echo @LA_GRADE; ?>
</a> <?php echo $this->_tpl_vars['image_grade']; ?>
</th>
	<th width="5%"><?php echo $this->_tpl_vars['PICTURE_URL']; ?>
 <?php echo @PICTURE_TEXT; ?>
</a> <?php echo $this->_tpl_vars['image_picture']; ?>
</th>
	
</tr>			  

<?php $_from = $this->_tpl_vars['ads']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['ad']):
?>  
<tr class="<?php echo smarty_function_cycle(array('values' => ",alt"), $this);?>
">
	<td class="category"><?php echo $this->_tpl_vars['ad']['CATEGORYNAME']; ?>
</td>
	<td class="pointer"><a href="<?php echo $this->_tpl_vars['ad']['LINK']; ?>
" title="<?php echo ((is_array($_tmp=$this->_tpl_vars['ad']['TITLE'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
">
	<?php if ($this->_tpl_vars['ad']['SPECIAL']): ?><b><?php endif;  echo ((is_array($_tmp=$this->_tpl_vars['ad']['TITLE'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 35, "...", true) : smarty_modifier_truncate($_tmp, 35, "...", true));  if ($this->_tpl_vars['ad']['SPECIAL']): ?></b><?php endif; ?></a></td>
	<?php $_from = $this->_tpl_vars['ad']['EXTRA_VALUES']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['extraval']):
?> 
		<td><nobr><?php echo ((is_array($_tmp=$this->_tpl_vars['extraval'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 20, "...", true) : smarty_modifier_truncate($_tmp, 20, "...", true)); ?>
</nobr></td>
	<?php endforeach; endif; unset($_from); ?>
	<td><?php echo $this->_tpl_vars['ad']['EXPIREDATE']; ?>
</td>
	 <!-- <td><?php if ($this->_tpl_vars['ad']['VENDOR_URL']): ?><img src="<?php echo $this->_tpl_vars['ad']['VENDOR_URL']; ?>
" height="30" /><?php endif; ?></td> -->
	<td><?php echo $this->_tpl_vars['ad']['GRADE']; ?>
</td>
	<td><?php echo $this->_tpl_vars['ad']['IMAGEYESNO']; ?>
</td>
</tr>
<?php endforeach; endif; unset($_from); ?> 

<tr>
<td colspan="6" align="center">
<?php if ($this->_tpl_vars['prev_url']): ?> 
	<a href="<?php echo $this->_tpl_vars['prev_url']; ?>
" class="button nextPrev">&lt; <?php echo @PREVIOUS_ADS; ?>
 <?php echo $this->_tpl_vars['NUM_PER_PAGE']; ?>
</a> 
<?php else: ?>
	
<?php endif; ?>


<?php if ($this->_tpl_vars['next_url']): ?>	
	<a href="<?php echo $this->_tpl_vars['next_url']; ?>
" class="button nextPrev"><?php echo @NEXT_ADS; ?>
 <?php echo $this->_tpl_vars['NUM_PER_PAGE']; ?>
 &gt;</a> 
<?php else: ?>	

<?php endif; ?>
</td></tr></table>
<!-- // LATEST_FRONTPAGE.TPL -->